@layout("/common/_container.html",{js:["/assets/modular/dbServicelist/dbServicelist.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">目录服务管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">

                            <div class="layui-inline">
                                <label class="layui-form-label">数据库:</label>
                                <div class="layui-input-inline" style="width: 150px">
                                    <input id="dbName" name="dbName" class="layui-input" placeholder="数据库名称"
                                           style="width: 150px;"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">应用系统:</label>
                                <div class="layui-input-inline" style="width: 150px">
                                    <input id="system" name="system" class="layui-input" placeholder="应用系统名称"
                                           style="width: 150px;"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">服务类型:</label>
                                <div class="layui-input-inline" style="width: 150px">
                                    <select name="servicetype" id="servicetype" lay-verify="select">
                                        <option value="">请选择</option>
                                        <option value="1">数据库服务</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">是否公开:</label>
                                <div class="layui-input-inline" style="width: 150px">
                                    <select name="open" id="open" lay-verify="select">
                                        <option value="">请选择</option>
                                        <option value="1">是</option>
                                        <option value="2">否</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">状态:</label>
                                <div class="layui-input-inline" style="width: 150px">
                                    <select name="state" id="state" lay-verify="select">
                                        <option value="">请选择</option>
                                        <option value="1">启动</option>
                                        <option value="0">停止</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline" style="margin-left: 40px">
                                <button id="btnSearch" class="layui-btn icon-btn btnstyle">&emsp;筛选&emsp;</button>
                            </div>
                        </div>
                        <div class="layui-row">
                            <div style="display: flex;margin-bottom: 10px;margin-left: 20px">
                                <button id="btnRel" class="layui-btn icon-btn btnstyle1">&nbsp;发布服务&nbsp;</button>
<!--                                <button id="btnApp" class="layui-btn icon-btn btnstyle1">&nbsp;申请升级&nbsp;</button>-->
                                <button id="btnStar" class="layui-btn icon-btn btnstyle1">&emsp;启动&emsp;</button>
                                <button id="btnStop" class="layui-btn icon-btn btnstyle1">&emsp;停止&emsp;</button>
                                <button id="btnKil" class="layui-btn icon-btn btnstyle1">&emsp;废弃&emsp;</button>
                                <button id="btnAdd" class="layui-btn icon-btn btnstyle1">&emsp;注册&emsp;</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="dbServicelistTable" lay-filter="dbServicelistTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <!--    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>-->
    <!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
    {{# if(d.spState == 1){}}
    <a class="layui-btn  layui-btn-normal  layui-btn-xs czbtn" type="button" lay-event="Details">数据库详情</a>
    {{# } }}
</script>

@}